// 设置键值
const getSessionItem = (key: string) => {
    return sessionStorage.getItem(key)
}

// 通过建获取值 
const setSessionItem = (item: string, value: any) => {
    sessionStorage.setItem(item, value)
}

export { setSessionItem, getSessionItem }
